home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!j-bg.demon.co.uk
- From: John Sargent <jb@j-bg.demon.co.uk>
- Newsgroups: comp.lang.c++
- Subject: Re: bitfield
- Date: Thu, 18 Apr 96 18:08:36 GMT
- Message-ID: <829850916snz@j-bg.demon.co.uk>
- References: <3172B547.1F54@braunschweig.netsurf.de>
- Reply-To: jb@j-bg.demon.co.uk
- X-NNTP-Posting-Host: j-bg.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.29
- X-Mail2News-Path: j-bg.demon.co.uk
-
- In article <3172B547.1F54@braunschweig.netsurf.de>
- luecking@braunschweig.netsurf.de "Dieter Lcking" writes:
-
- > Problem:
- >
- > struct BITS
- > {
- > int bits : 3;
- > };
- >
- > BITS array[8];
- >
- > How much memory needs array ?
- >
- > Danke Dieter
-
-
-
- 8 * sizeof(int)
-
-
-
-
- Regards,
- John Sargent
-